package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.pojo.Category;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 */

public interface CategoryService{

    Boolean save(Category category);

    Page<Category> getPage(Integer page,Integer pageSize);

    Boolean modifyCategory(Category category);

    Boolean deleteById(String id);

    List<Category> selectAll(String type);

    List<Category> selectList();

}
